Part Number Hot Search : 
NCA32C1 B0922BA1 SC460308 YED21 BAS70SS3 SA06N06 SMC47 IDT72
Product Description
Full Text Search
 

To Download STAC9711 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 10/02/98 preliminary sigmatel, inc. integrating mixed-signal solutions stac9708/ 11 multi-channel ac'97 codec with multi-codec option general description: sigmatel?s stac9708/11 is a general purpose 18-bit, full duplex, audio codec that conforms to the analog component specification of ac'97 (audio codec 97 component specification rev. 2.1). the stac9708/11 incorporates sigmatel?s proprietary sigma-delta technology to achieve a dac snr in excess of 95db. the dacs, adcs, and mixer are integrated with analog i/os, which include four analog line-level stereo inputs, two analog line-level mono inputs, two stereo outputs, and one mono output channel. also included are two additional high quality dacs, with independent volume control, for multi-channel applications. with sigmatel?s 3d stereo enhancement ( ss3d ), independently selectable on both line out and dac out, the multi-channel mode immerses the user in a richer and livelier listening experience. the stac9708/11 may be used as a secondary codec, with the stac9704/07 as the primary, in a multiple codec configuration conforming to the ac'97 rev. 2.1 specification. this configuration can provide true six-channel, ac-3 playback required for dvd applications. the stac9708/11 communicates via the five-wire ac-link to any digital component of ac'97 providing flexibility in the audio system design. packaged in an ac'97 compliant 48-pin tqfp, the stac9708/11 can be placed on the motherboard, daughter boards, add-on cards or pcmcia cards. features: high performance s s d d technology two additional high quality dac ? s for multi-channel applications 18-bit full duplex stereo ad c , da cs ac-link protocol compliance multiple power supply options pin compatible with the stac9704/07 sigmatel surround (ss3d) stereo enhancement energy saving power down modes multi-codec option (intel ac'97 rev 2.1) six analog line-level inputs 48-pin tqfp snr > 95 db through mixer and dac
2 10/02/98 ordering information: part number package temperature range supply range stac9708t 48-pin tqfp 7mm x7mm x 1.4mm 0 o c to +70 o c dvdd = 3.3v or 5v, avdd = 5v STAC9711t 48-pin tqfp 7mmx7mm x 1.4mm 0 o c to +70 o c dvdd = 3.3v, avdd = 3.3v sigmatel reserves the right to change specifications without notice.
sigmatel, inc prelim inary stac9708/11 3 10/02/98 table of contents general description 1 ordering information 2 1. pin/signal descriptions 9 1.1 digital i/o 9 1.2 analog i/o 10 1.3 filter/references/gpio 11 1.4 power and ground signal 12 2. ac-link 12 2.1 clocking 13 2.2 reset 13 3. digital interface 14 3.1 ac-link digital serial interface protocol 14 3.1.1 ac-link audio outpu t frame (sdata_out) 15 3.1.1.1 slot 1: command address port 16 3.1.1.2 slot 2: command data port 17 3.1.1.3 slot 3: pcm playback left channel 17 3.1.1.4 slot 4: pcm playback right channel 17 3.1.1.5 slot 5: reserved 1 7 3.1.1.6 slot 6: pcm center channel 17 3.1.1.7 slot 7: pcm left surround channel 18 3.1.1.8 slot 8: pcm right surround channel 18 3.1.1.9 slot 9: pcm low frequency channel 18 3.1.1.10 slot 10: pcm alternate left 18 3.1.1.11 slot 11: pc m alternate right 18 3.1.1.12 slot 12: reserved 19 3.1.2 ac-link audio input frame (sdata_in) 19 3.1.2.1 slot 1: status address port 20 3.1.2.2 slot 2: status data port 21 3.1.2.3 slot 3: pcm record left channel 21 3.1.2.4 slot 4: pc m record right channel 21 3.1.2.5 slots 5-12: reserved 21 3.2 ac-link low power mode 21 3.2.1 waking up the ac-link 22 4. stac9708/11 mixer 23 4.1 mixer input. 25 4.2 mixer output 25 4.3 pc beep implementations 25 4.4 programming registers 26 4.4.1 reset register 27 4.4.2 play master volume registers 27 4.4.3 pc beep register 27 4.4.4 analog mixer input gain 28 4.4.5 record select control 28 4.4.6 record gain registers 30 4.4.7 ge neral purpose register 30 4.4.8 3d control register 30 4.4.9 multi-channel programming 31 4.4.10 powerdown control/status 32 4.4.10.1 external amplifier power down (eapd) control 33 4.4.11 extended audio id register 33 4.4.12 extended audio status register 33 4.4.1 3 analog special register 33 4.4.14 vendor id1 and id2 registers 33 5. low power modes 34 6. multiple codec support 36 6.1 primary/secondary codec selection 36 6.1.1 primary codec operation 36 6.1.2 secondary codec operation 36 6.2 secondary codec register access definitions 36 7. testability 37
sigmatel, inc prelim inary stac9708/11 4 10/02/98 8. extended codec functionality 38 8.1 anti-pop circuitry 38 9. ac timing characteristics 38 9.1 cold reset. 38 9.2 warm res et 39 9.3 clocks 40 9.4 data setup and hold 41 9.5 signal rise and fall times 42 9.6 ac-link low power mode timing 43 9.7 ate test mode 44 10. electrical specifications 45 10.1 absolute maximum conditions 45 10.2 recommended operating conditions 45 10.3 power consumption 46 10.4 ac-link static digital specifications 46 10.5 9708 analog performance characteristics 47 10.6 9711 analog performance characteristics 49 appendix a 51 appendix b 52
sigmatel, inc prelim inary stac9708/11 5 10/02/98 table of contents ? tables table 1 ? package dimensions 6 table 2 ? pin designation 6 table 3 ? digital signal list 9 table 4 ? analog signal list 10 table 5 ? filtering and voltage references 11 table 6 ? 9708/11 power signal list 11 table 7 ?mixer functional connections 24 table 8 ? programming registers 25 table 9 ? play master volume register 26 table 10 ? pc beep register 27 table 11 ? analog mixer input gain register 27 table 12, 13 ? record select control registers 28 table 14 ? record gain registers 29 table 15 ? general purpose registers 29 table 16, 17 ? 3d control registers 30 table 18 ? multi-channel programming register 31 table 19 ? powerdown status registers 31 table 20 ? low power modes 32 table 21 - codec id selection 36 table 22 - secondary codec register access slot 0 bit definitions 37 table 23 ? cold reset 36 table 24 ? warm reset 36 table 25 ? clocks 37 table 26 ? data setup and hold 38 table 27 ? signal rise and fall times 39 table 28 ? ac-link low power mode timing 40 table 29 ? ate test mode 40 table 30 ? operating conditions 44 table 28 ? power consumption 45 table 29 ? ac-link static specifications 45 table 30 ? 9708 analog performance characteristics 46 table 31 ? 9711 analog performance characteristics 48 table of contents ? figures figure 1 ? package outline 6 figure 2 ? stac9708 block diagram 7 figure 3 ? connection diagram 8 figure 4 ? stac9708 ac-link 12 figure 5 ? ac'97 standard bi-directional 15 figure 6 ? ac-link audio output frame 15 figure 7 ? start of an audio output frame 16 figure 8 ? stac9708 audio input frame 19 figure 9 ? start of an audio input frame 20 figure 10 ? stac9708 powerdown timing 22 figure 11 ? stac9708 mixer functional diagram 23 figure 12 ? example of stac9708 powerdown/ powerup flow 35 figure 13 ? stac9708 powerdown/powerup with analog still alive 35 figure 14 ? cold reset 38 figure 15 ? warm reset 39 figure 16 ? clocks 39 figure 17 ? data setup and hold 40 figure 18 ? signal rise and fall times 41 figure 19 ? ac-link low power mode timing 42 figure 20 ? ate test mode 42
sigmatel, inc prelim inary stac9708/11 6 10/02/98 figure 1 . package outline sigmatel stac9708/11 48 pin tqfp a d1 d e e1 e 38 26 14 2 table 1 . package dimensions key 9708/11 dimension tqfp d 9.00 mm d1 7.00 mm e 9.00 mm e1 7.00 mm a (lead width) 0.20 mm e (pitch) 0.50 mm thickness 1.4 mm table 2 . pin designation pin # signal name pi n # signal name pin # signal name pin # signal name 1 dvdd1 13 phone 25 avdd1 37 mono_out 2 xtl_in 14 aux_l 26 avss1 38 avdd2 3 xtl_out 15 aux_r 27 vref 39 dac_out_l 4 dvss1 16 video_l 28 vrefout 40 nc 5 sdata_out 17 video_r 29 afilt1 41 dac_out_r 6 bit_clk 18 cd_l 30 afilt2 42 avss2 7 dvss2 19 cd_gnd 31 cap1 43 nc 8 sdata_in 20 cd_r 32 cap2 44 nc 9 dvdd2 21 mic1 33 cap3 45 cid0 10 sync 22 mic2 34 apop 46 cid1 11 reset# 23 line_in_l 35 line_out_l 47 eapd 12 pc_beep 24 line_in_r 36 line_out_r 48 nc # denotes active low
sigmatel, inc. preliminary stac9708/11 7 10/02/98 figure 2 . stac9708 block diagram the stac9708/11 block diagram, above, illustrates its primary functional blocks. it performs fixed 48k sample rate d-a & a-d conversion, mixing, and analog processing. the digital interface communicates with the ac'97 controller via the five wire ac-link and contains the 64 word by 16-bit registers. four , fixed 48ks / s dac?s support two stereo pcm-out channel s for surround sound applications requiring four speakers. the digital mix of all software sources, including the internal synthesizer and any other digital sources , is performed in the digital controller . the mixer block mixes the pcm_out with any analog sources, then outputs to line_out. the surround dacs are output to dac_out, and this stereo output has independent volume control. in addition, the surround dacs can be input to the mixer block and output to line_out. the mono_out delivers either mic only or a mono mix of sources from the mixer. the two fixed 48ks/s adc?s take any mix of mono or stereo sources and convert it to a stereo pcm-in signal. all adc's and dac's operate at 18-bit resolution. the stac9708/11 is designed primarily to support multi-channel , 4-speaker pc audio. however, true ac-3 playback can be achieved for 6-speaker applications by taking advantage of the multi-codec option in the stac9708/11 . using this option with a stac97 04/07 as the primary codec, and the stac9708 as the secondary codec, 6-channel output can be achieved in an ac'97 architecture. also, the stac9708/11 provides for a stereo enhancement feature, sigmatel surround 3d or ss3d. ss3d provides the listener with several options to expand the soundstage beyond the normal 2-speaker arrangement. together with the logic component (controller or advanced core logic chip-set) of ac'97, stac9708/11 can be soundblaster and windows sound system compatible. soundblaster is a registered trademark of creative labs. windows is a registered trademark of microsoft corporation. line_out mono_out mic1 mic2 m u x mixer analog mixing and gain control dac dac adc adc power management digital interface registers 64 x 16 bits mic boost 0/20 db pcm out dacs pcm in adcs ac-link 4 stereo sources 2 mono sources mono stereo 48kss 48kss sync bit_clk sdata_out sdata_in reset dac_out dac dac id0 id1 multi-codec
sigmatel, inc. preliminary stac9708/11 8 10/02/98 figure 3 . connection diagram ? see appendix a for an alternative connection diagram when using separate supplies. see appendix b for specific connection requirements prior to operation. video_l video_r aux_l afilt1 afilt2 avss1 avss2 dvss1 dvss2 avdd1 avdd2 dvdd1 dvdd2 ferrite bead * 2 ohm * 0.1uf 10uf 1uf 0.1uf 0.1uf 0.1uf 560 - 1000pf 29 30 14 17 16 25 38 1 9 7 4 42 26 3 2 cap2 xtl_out xtl_in 3.3v or 5v 5% 24.576mhz 32 0.1uf 10uf sigmatel stac9708/11 28 vrefout vref 27 10uf 0.1uf 33pf 33pf line_out_l line_out_r mono_out 35 36 37 line_in_r 24 line_in_l 23 phone 13 p c _ b e e p 12 mic2 22 aux_r 15 mic1 21 6 5 8 11 10 sdata_out sdata_in reset sync bit_clk cd_gnd cd_r 20 19 18 cd_l brd analog gnd brd digital gnd note: pins 31, 33, 34, 40 43, 44, and 48 are no connects * suggested ** teminate ground plane as close to power supply as possible dac_out_l dac_out_r 39 41 46 45 cid1 cid0 560 - 1000pf cid0 46 45 cid1 apop eapd 34 47 cap1 31 cap3 33 10uf 22uf
sigmatel, inc. preliminary stac9708/11 9 10/02/98 1 . pin/signal descriptions 1.1 digital i/o these signals connect the stac9708/11 to its ac'97 controller counterpart, an external crystal, multi- codec selection and external audio amplifier. table 3 . digital signal list signal name type description reset # i ac'97 master h/w reset xtl_in i 24.576 mhz crystal xtl_out o 24.576 mhz crystal sync i 48 khz fixed rate sample sync bit_clk o 12.288 mhz serial data clock sdata_out i serial, time division multiplexed, ac'97 input stream sdata__in o serial, time division multiplexed, ac'97 output stream c id0 i multi-codec id select ? bit 0 c id1 i multi-codec id select ? bit 1 eapd o external amplifier power down # denotes active low
sigmatel, inc. preliminary stac9708/11 10 10/02/98 1.2 analog i/o these signals connect the stac9708/11 to analog sources and sinks, including microphones and speakers. table 4 . analog signal list signal name type description pc-beep i pc speaker beep pass-through phone i from telephony subsystem speakerphone (or dlp - down line phone) mic1 i desktop microphone input mic2 i second microphone input line-in-l i line in left channel line-in-r i line in right channel cd-l i cd audio left channel cd-gnd i cd audio analog ground cd-r i cd audio right channel video-l i video audio left channel video-r i video audio right channel aux-l i aux left channel aux-r i aux right channel line-out-l o line out left channel line-out-r o line out right channel mono-out o to telephony subsystem speakerphone (or dlp ? down line phone)
sigmatel, inc. preliminary stac9708/11 11 10/02/98 dac_out_l o surround dac out left channel dac_out_r o surround dac out right channel * note: any unused input pins should have a capacitor (1 uf suggested) to ground. 1.3 filter/references/gpio these signals are connected to resistors, capacitors, specific voltages, or provide general purpose i/o. table 5 . filtering and voltage references signal name type description vref o reference voltage vrefout o reference voltage out 5ma drive (intended for mic bias) afilt1 o anti-aliasing filter cap - adc channel afilt2 o anti-aliasing filter cap - adc channel cap1 o analog output hold-off delay cap2 o adc reference cap cap3 o anti-pop power sustain delay apop o anti-pop output ground shunt control eapd o external amplifier power down control
sigmatel, inc. preliminary stac9708/11 12 10/02/98 1.4 power and ground signals table 6 . power signal list stac9708/11 signal name type stac9708 STAC9711 avdd1 i analog vdd = 5.0v analog vdd = 3.3v avdd2 i analog vdd = 5.0v analog vdd = 3.3v avss1 i analog gnd analog gnd avss2 i analog gnd analog gnd dvdd1 i digital vdd = 5.0v or 3.3v digital vdd = 3.3v dvdd2 i digital vdd = 5.0v or 3.3v digital vdd = 3.3v dvss1 i digital gnd digital gnd dvss2 i digital gnd digital gnd 2. ac-link below is the figure of the ac-link point to point serial interconnect between the stac9708/11 and its companion controller. all digital audio streams and command/status information are communicated over this ac-link. please refer to the ?digital interface? section 3 for details. figure 4 . stac9708/11? s ac-link to its companion controller sync bit_clk sdata_out sdata_in reset digital dc?97 controller stac9708/11 xtal_in xtal_out
sigmatel, inc. preliminary stac9708/11 13 10/02/98 2.1 clocking stac9708/11 derives its clock internally from an externally connected 24.576 mhz crystal or an oscillator through the xtal_in pin. synchronization with the ac'97 controller is achieved through the bit_clk pin at 12.288 mhz (half of crystal frequency). the beginning of all audio sample packets, or ?audio frames?, transferred over ac-link is synchronized to the rising edge of the ?sync? signal driven by the ac'97 controller. data is transitioned on ac-link on every rising edge of bit_clk, and subsequently sampled by the receiving side on each immediately following falling edge of bit_clk. 2.2 reset there are 3 types of resets as detailed under ?timing characteristics?. 1. a ?cold? reset where all stac9708/11 logic and registers are initialized to their default state 2. a ?warm? reset where the contents of the stac9708/11 register set are left unaltered 3. a ?register? reset which only initializes the stac9708/11 registers to their default states after signaling a reset to the stac9708/11, the ac'97 controller should not attempt to play or capture audio data until it has sampled a ?codec ready? indication via register 26h from the stac9708/11. for proper reset operation sdata_out should be ?0? during ?cold? reset.
sigmatel, inc. preliminary stac9708/11 14 10/02/98 3. digital interface 3.1 ac-link digital serial interface protocol the stac9708/11 communicates to the ac'97 controller via a 5-pin digital serial ac-link interface, which is a bi-directional, fixed rate, serial pcm digital stream. all digital audio streams, commands and status information are communicated over this point-to-point serial interconnect. the ac-link handles multiple inputs, and output audio streams, as well as control register accesses using a time division multiplexed (tdm) scheme. the ac'97 controller synchronizes all ac-link data transaction. the following data streams are available on the stac9708/11: pcm playback 4 output slots 4 channel composite pcm output stream pcm record data 2 input slots 2 channel composite pcm input stream control 2 output slot s control register write port status 2 input slots control register read port synchronization of all ac-link data transactions is handled by the ac'97 controller. the stac9708/11 drives the serial bit clock onto ac-link. the ac'97 controller then qualifies with a synchronization signal to construct audio frames. sync, fixed at 48 khz, is derived by dividing down the serial bit clock (bit_clk). bit_clk, fixed at 12.288 mhz, provides the necessary clocking granularity to support 12, 20-bit outgoing and incoming time slots. ac-link serial data is transitioned on each rising edge of bit_clk. the receiver of ac- link data, stac9708/11 for outgoing data and ac'97 controller for incoming data, samples each serial bit on the falling edges of bit_clk. the ac-link protocol provides for a special 16-bit (13-bits defined, with 3 reserved trailing bit positions) time slot (slot 0) wherein each bit conveys a valid tag for its corresponding time slot within the current audio frame. a ?1? in a given bit position of slot 0 indicates that the corresponding time slot within the current audio frame has been assigned to a data stream, and contains valid data. if a slot is ?tagged? invalid, it is the responsibility of the source of the data, ( stac9708/11 for the input stream, ac'97 controller for the output stream), to stuff all bit positions with 0?s during that slot?s active time. sync remains high for a total duration of 16 bit_clks at the beginning of each audio frame. the portion of the audio frame where sync is high is defined as the ?tag phase?. the remainder of the audio frame where sync is low is defined as the ?data phase?. additionally, for power savings, all clock, sync, and data signals can be halted.
sigmatel, inc. preliminary stac9708/11 15 10/02/98 figure 5 . ac'97 standard bi-directional audio frame 3.1.1 ac-link audio output frame (sdata_out) the audio output frame data streams correspond to the multiplexed bundles of all digital output data targeting the stac9708/11 dac inputs, and control registers. each audio output frame supports up to 12 20-bit outgoing data time slots. slot 0 is a special reserved time slot containing 16 bits that are used for ac-link protocol infrastructure. within slot 0, the first bit is a global bit (sdata_out slot 0, bit 15) which flags the validity for the entire audio frame. if the ?valid frame? bit is a 1, this indicates that the current audio frame contains at least one slot time of valid data. the next 12 bit positions sampled by the stac9708/11 indicate which of the corresponding 12 times slots contain valid data. in this way data streams of differing sample rates can be transmitted across ac-link at its fixed 48khz audio frame rate. the following diagram illustrates the time slot based ac-link protocol. figure 6 . ac-link audio output frame sync bit_clk sdata_out valid frame slot1 slot2 end of previous audio frame slot(12) "0" 19 "0" "0" "0" 19 19 19 "0" data phase 20.8 us (48 khz) tag phase 12.288 mhz time slot "valid" bits slot 1 slot 2 slot 3 slot 12 ("1" = time slot contains valid pcm data) cid1 cid0 a new audio output frame begins with a low to high transition of sync. sync is synchronous to the rising edge of bit_clk. on the immediately following falling edge of bit_clk, the stac9708/11 samples the assertion of sync. this following edge marks the time when both sides of ac-link are aware of the start of a new audio frame. on the next rising edge of bit_clk, the ac'97 controller transitions sdata_out into the first bit position of slot 0 (valid frame bit). each new bit position is presented to ac-link on a rising edge of bit_clk, and subsequently sampled by the stac9708/11 on outgoing streams incoming streams sync tag phase tag cmd adr cmd data pcm left pcm rt na rsvd rsvd rsvd rsvd rsvd rsvd rsvd na na pcm left pcm rt status data status adr tag data phase pcm ctr pcm lsurr pcm rsurr pcm lfe pcm lalt pcm ralt
sigmatel, inc. preliminary stac9708/11 16 10/02/98 the following falling edge of bit_clk. this sequence ensures that data transitions, and subsequent sample points for both incoming and outgoing data streams are time aligned. figure 7 . start of an audio output frame sync bit_clk sdata_out stac9708 samples first sdata_out bit of frame here stac9708 samples sync assertion here valid frame slot1 slot2 end of previous audio frame sdata_out?s composite stream is msb justified (msb first) with all non-valid slots? bit positions stuffed with 0?s by the ac'97 controller. when mono audio sample streams are sent from the ac'97 controller, it is necessary that both left and right sample stream time slots be filled with the same data. 3.1.1.1 slot 1: command address port the command port is used to control features, and monitor status (see audio input frame slots 1 and 2) of the stac9708/11 functions including, but not limited to, mixer settings, and power management (refer to the control register section of this specification). the control interface architecture supports up to 64 16-bit read/write registers, addressable on even byte boundaries. only the even registers (00h, 02h, etc.) are valid. audio output frame slot 1 communicates control register address, and write/read command information to the stac9708/11 . command address port bit assignments : bit (19) read/write command (1= read, 0=write) bit (18:12) control register index (64 16-bit locations, addressed on even byte boundaries) bit (11:0) reserved (stuffed with 0's) the first bit (msb) sampled by stac9708/11 indicates whether the current control transaction is a read or a write operation. the following 7 bit positions communicate the targeted control register address. the trailing 12 bit positions within the slot are reserved and must he stuffed with 0's by the ac'97 controller.
sigmatel, inc. preliminary stac9708/11 17 10/02/98 3.1.1.2 slot 2: command data port the command data port is used to deliver 16-bit control register write data in the event that the current command port operation is a write cycle. (as indicated by slot 1, bit 19) bit (19:4) control register write data (stuffed with 0's if current operation is a read) bit (3 :0) reserved (stuffed with 0's) if the current command port operation is a read then the entire slot time must be stuffed with 0's by the ac'97 controller. 3.1.1.3 slot 3: pcm playback left channel audio output frame slot 3 is the composite digital audio left playback stream. in a typical ?games compatible" pc this slot is composed of standard pcm (.wav) output samples digitally mixed (on the ac'97 controller or host processor) with music synthesis output samples. if a sample stream of resolution less than 20-bits is transferred, the ac'97 controller must stuff all trailing non-valid bit positions within this time slot with 0's. 3.1.1.4 slot 4: pcm playback right channel audio output frame slot 4 is the composite digital audio right playback stream. in a typical ?games compatible" pc this slot is composed of standard pcm (.wav) output samples digitally mixed (on the ac'97 controller or host processor) with music synthesis output samples. if a sample stream of resolution less than 20-bits is transferred, the ac'97 controller must stuff all trailing non-valid bit positions within this time slot with 0's. 3.1.1.5 slot 5: reserved audio output frame slot 5 is reserved for modem operation and is not used by the stac9708/11 . 3.1.1.6 slot 6: pcm center channel audio output frame slot 6 is the composite digital audio center stream used in a multi-channel application where the stac9708/11 is programmed to accept the primary dac pcm data from slots 6 and 9. as a programming option, pcm data from slots 6 and 9 may be used to supply data to the surround dacs when slots 7 and 8 are used to drive the primary dacs. please refer to the register programming section for details on the multi-channel programming options.
sigmatel, inc. preliminary stac9708/11 18 10/02/98 3.1.1.7 slot 7: pcm left surround channel audio output frame slot 7 is the composite digital audio left surround stream. in the default state, the stac9708/11 accepts pcm data from slots 7 and 8 for the surround dacs, for output to the dac_out pins. as a programming option, pcm data from slots 7 and 8 may be used to supply data to the primary dacs when slots 6 and 9 are used to drive the surround dacs. please refer to the register programming section for details on the multi-channel programming options. 3.1.1.8 slot 8: pcm right surround channel audio output frame slot 8 is the composite digital audio right surround stream. in the default state, the stac9708/11 accepts pcm data from slots 7 and 8 for the surround dacs, for output to the dac_out pins. as a programming option, pcm data from slots 7 and 8 may be used to supply data to the primary dacs when slots 6 and 9 are used to drive the surround dacs. please refer to the register programming section for details on the multi-channel programming options. 3.1.1.9 slot 9: pcm low frequency channel audio output frame slot 9 is the composite digital audio low frequency stream used in a multi- channel application where the stac9708/11 is programmed to accept the primary dac pcm data from slots 6 and 9. as a programming option, pcm data from slots 6 and 9 may be used to supply data to the surround dacs when slots 7 and 8 are used to drive the primary dacs. please refer to the register programming section for details on the multi-channel programming options. 3.1.1.10 slot 10: pcm alternate left audio output frame slot 10 is the composite digital audio alternate left stream used in a multi- channel application where the stac9708/11 is programmed to accept the primary dac pcm data from slots 6 and 9. please refer to the register programming section for details on the multi channel programming options. 3.1.1.11 slot 11: pcm alternate right audio output frame slot 11 is the composite digital audio alternate right stream used in a multi-channel application where the stac9708/11 is programmed to accept the primary dac pcm data from slots 6 and 9. please refer to the register programming section for details on the multi channel programming options.
sigmatel, inc. preliminary stac9708/11 19 10/02/98 3.1.1.12 slot 12: reserved audio output frame slot 12 is reserved for modem operations and is not used by the stac9708/11 . 3.1.2 ac-link audio input frame (sdata_in) the audio input frame data streams correspond to the multiplexed bundles of all digital input data targeting the ac'97 controller. as is the case for audio output frame, each ac-link audio input frame consists of 12, 20-bit time slots. slot 0 is a special reserved time slot containing 16 bits that are used for ac-link protocol infrastructure. within slot 0 the first bit is a global bit (sdata_in slot 0, bit 15) which flags whether the stac9708/11 is in the "codec ready" state or not. if the ?codec ready? bit is a 0, this indicates that stac9708/11 is not ready for normal operation. this condition is normal following the de-assertion of power on reset, for example, while stac9708/11 ?s voltage references settle. when the ac-link "codec ready" indicator bit is a 1, it indicates that the ac-link and stac9708/11 control/status registers are in a fully operational state. the ac'97 controller must further probe the powerdown control status register (refer to mixer register section) to determine exactly which subsections, if any, are ready. prior to any attempts at putting stac9708/11 into operation the ac'97 controller should poll the first bit in the audio input frame (sdata_in slot 0, bit 15) for an indication that stac9708/11 has become "codec ready". once the stac9708/11 is sampled "codec ready", the next 12 bit positions sampled by the ac'97 controller indicate which of the corresponding 12 time slots are assigned to input data streams, and that they contain valid data. the following diagram illustrates the time slot based ac-link protocol. figure 8 . stac9708/11 audio input frame sync bit_clk sdata_in valid frame slot1 slot2 end of previous audio frame slot(12) "0" "0" "0" 19 "0" "0" "0" 19 19 19 "0" data phase 20.8 us (48 khz) tag phase 12.288 mhz time slot "valid" bits slot 1 slot 2 slot 3 slot 12 ("1" = time slot contains valid pcm data)
sigmatel, inc. preliminary stac9708/11 20 10/02/98 a new audio input frame begins with a low to high transition of sync. sync is synchronous to the rising edge of bit_clk. on the immediately following falling edge of bit_clk, stac9708/11 samples the assertion of sync. this falling edge marks the time when both sides of ac-link are aware of the start of a new audio frame. on the next rising of bit_clk, the stac9708/11 transitions sdata_in into the first bit position of slot 0 ("codec ready" bit). each new bit position is presented to ac-link on a rising edge of bit_clk and subsequently sampled by the ac'97 controller on the following falling edge of bit_clk. this sequence ensures that data transitions, and subsequent sample points for both incoming and outgoing data streams are time aligned. figure 9 . start of an audio input frame sync bit_clk sdata_in stac9708 samples first sdata_out bit of frame here stac9708 samples sync assertion here codec ready slot1 slot2 end of previous audio frame sdata_in's composite stream is msb justified (msb first) with all non-valid bit positions (for assigned and/or unassigned time slots) stuffed with 0's by stac9708/11 . sdata_in data is sampled on the falling edges of bit_clk. 3.1.2.1 slot 1: status address port the status port is used to monitor status for stac9708/11 functions including, but not limited to, mixer settings, and power management. audio input frame slot 1?s stream echoes the control register index, for historical reference, for the data to be returned in slot 2. (assuming that slots 1 and 2 had been tagged ?valid? by stac9708/11 during slot 0) status address port hit assignments: bit (19) reserved (stuffe d with 0) bit (18;12) control register index (echo of register index for which data is being returned) bit (11:0) reserved (stuffed with 0's) the first bit (msb) generated by stac9708/11 is always stuffed with a 0. the following 7 bit positions communicate the associated control register address, and the trailing 12 bit positions are stuffed with 0's by stac9708/11 .
sigmatel, inc. preliminary stac9708/11 21 10/02/98 3.1.2.2 slot 2: status data port the status data port delivers 16-bit control register read data. bit (19:4) control register read data (stuffed with 0's if tagged "invalid") bit (3 :0) reserved (stuffed with 0's) if slot 2 is tagged "invalid" by stac9708/11, then the entire slot will be stuffed with 0's. 3.1.2.3 slot 3: pcm record left channel audio input frame slot 3 is the left channel output of stac9708/11 input mux, post-adc. stac9708/11 adcs are implemented to support 18-bit resolution. stac9708/11 outputs its adc data (msb first), and stuffs any trailing non-valid bit positions with 0's to fill out its 20-bit time slot. 3.1.2.4 slot 4: pcm record right channel audio input frame slot 4 is the right channel output of stac9708/11 input mux, post-adc. stac9708/11 outputs its adc data (msb first), and stuffs any trailing non-valid bit positions with 0's to fill out its 20-bit time slot. 3.1.2.5 slots 5-12: reserved audio input frame slots 5-12 are not used by the stac97908/11 and are always stuffed with 0's. 3.2 ac-link low power mode the stac9708/11 ac-link can be placed in the low power mode by programming register 26h to the appropriate value. both bit_clk and sdata_in will be brought to, and held at a logic low voltage level. the ac'97 controller can wake up the stac9708/11 by providing the appropriate reset signals.
sigmatel, inc. preliminary stac9708/11 22 10/02/98 figure 10 . stac9708/11 powerdown timing sync bit_clk sdata_out per frame sdata_in slot2 tag write to data slot2 tag per frame 0x20 pr4 note: bit_clk not to scale bit_clk and sdata_in are transitioned low immediately (within the maximum specified time) following the decode of the write to the powerdown register (26h) with pr4. when the ac'97 controller driver is at the point where it is ready to program the ac-link into its low power mode, slots (1 and 2) are assumed to be the only valid stream in the audio output frame (all sources of audio input have been neutralized). the ac'97 controller should also drive sync, and sdata_out low after programming the stac9708/11 to this low power mode. 3.2.1 waking up the ac-link once the stac9708/11 has halted bit_clk, there are only two ways to ?wake up? the ac-link. both methods must be activated by the ac'97 controller. the ac-link protocol provides for a ?cold ac'97 reset?, and a ?warm ac'97 reset?. the current power down state would ultimately dictate which form of reset is appropriate. unless a ?cold? or ?register? reset (a write to the reset register) is performed, wherein the ac'97 registers are initialized to their default values, registers are required to keep state during all power down modes. once powered down, re-activation of the ac-link via re- assertion of the sync signal must not occur for a minimum of 4 audio frame times following the frame in which the power down was triggered. when ac-link powers up it indicates readiness via the codec ready bit (input slot 0, bit 15). cold reset - a cold reset is achieved by asserting reset# for the minimum specified time. by driving reset# low, bit_clk, and sdata_in will be activated, or re-activated as the case may be, and all stac9708/11 control registers will be initialized to their default power on reset values. note: reset# is an asynchronous input. # denotes active low
sigmatel, inc. preliminary stac9708/11 23 10/02/98 warm reset - a warm reset will re-activate the ac-link without altering the current stac9708/11 register values. a warm reset is signaled by driving sync high for a minimum of 1us in the absence of bit_clk. note: within normal audio frames, sync is a synchronous input. however, in the absence of bit_clk, sync is treated as an asynchronous input used in the generation of a warm reset to the stac9708/11 . 4. stac9708/11 mixer the stac9708/11 mixer is designed to the ac'97 specification to manage the playback and record of all digital and analog audio sources in the pc environment. these include: system audio : digital pcm input and output for business, games and multimedia cd/dvd : analog cd/dvd-rom redbook audio with internal connections to codec mixer mono microphone : choice of desktop mic, with programmable boost and gain speakerphone : use of system mic and speakers for telephone, dsvd, and video conferencing video : tv tuner or video capture card with internal connections to codec mixer aux/synth : analog fm or wavetable synthesizer, or other internal source figure 11 . stac9708/11 mixer functional diagram -6 db -6 db vol mute pcm out d/a phone mic1 mic2 line in line out cd video aux analog audio sources mono out pcm in 20db master volume mono volume a/d a/d master input volume s s m u x m u x vol vol vol vol vol vol vol mute mute mute mute mute mute mute key mono analog stereo analog digital dac out vol mute pcm out surround d/a dac volume 3d 3d pc_beep s
sigmatel, inc. preliminary stac9708/11 24 10/02/98 table 7 . mixer functional connections source function connection pc_beep pc beep pass thru from pc beeper output phone speakerphone or dlp in from telephony subsystem mic1 desktop microphone from mic jack mic2 second microphone from second mic jack line_in external audio source from line-in jack cd audio from cd-rom cable from cd-rom video audio from tv tuner or video camera cable from tv or vidcap card aux upgrade synth or other external source internal connector pcm out digital audio output from ac'97 controller ac-link line_out stereo mix of all sources to output jack dac_out surround stereo dac output to output jack mono_out mic or mix for speakerphone or dlp out to telephony subsystem pcm in digital audio input to ac'97 controller ac-link
sigmatel, inc. preliminary stac9708/11 25 10/02/98 4.1 mixer input the mixer provides recording and playback of any audio sources or output mix of all sources. the stac9708/11 supports the following input sources: any mono or stereo source mono or stereo mix of all sources 2-channel input w/mono output reference (mic + stereo mix) note: any unused input pins should have a capacitor (1 uf suggested) to ground. 4.2 mixer output the mixer generates two distinct outputs: a stereo mix of all sources for output to the line_out a stereo mix of the surround dacs for output to the dac_out a mono, mic only or mix of all sources for mono_out * note: mono output of stereo mix is attenuated by -6 db . 4.3 pc beep implementation pc beep is active on power up and defaults to an unmuted state. the user should mute this input before using any other mixer input because the pc beep input can contribute noise to the lineout during normal operation.
sigmatel, inc. preliminary stac9708/11 26 10/02/98 4.4 programming registers: table 8. programming registers reg # name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 de fault 00h reset x se4 se3 se2 se1 se0 id9 id8 id7 id6 id5 id4 id3 id2 id1 id0 6940h 02h master volume mute x x ml4 ml3 ml2 ml1 ml0 x x x mr4 mr3 mr2 mr1 mr0 8000h 04h s urround dac mixer volume mute x x gl4 gl3 gl2 gl1 gl0 x x x gr4 gr3 gr2 gr1 gr0 8808h 06h master volume mono mute x x x x x x x x x x mm4 mm3 mm2 mm1 mm0 8000h 0ah pc_beep volume mute x x x x x x x x x x pv3 pv2 pv1 pv0 x 0000h 0ch phone volume mute x x x x x x x x x x gn4 gn3 gn2 gn1 gn0 8008h 0eh mic volume mute x x x x x x x x 20db x gn4 gn3 gn2 gn1 gn0 8008h 10h line in volume mute x x gl4 gl3 gl2 gl1 gl0 x x x gr4 gr3 gr2 gr1 gr0 8808h 12h cd volume mute x x gl4 gl3 gl2 gl1 gl0 x x x gr4 gr3 gr2 gr1 gr0 8808h 14h video volume mute x x gl4 gl3 gl2 gl1 gl0 x x x gr4 gr3 gr2 gr1 gr0 8808h 16h aux volume mute x x gl4 gl3 gl2 gl1 gl0 x x x gr4 gr3 gr2 gr1 gr0 8808h 18h pcm out volume mute x x gl4 gl3 gl2 gl1 gl0 x x x gr4 gr3 gr2 gr1 gr0 8808h 1ah record select x x x x x sl2 sl1 sl0 x x x x x sr2 sr1 sr0 0000h 1ch record gain mute x x x gl3 gl2 gl1 gl0 x x x x gr3 gr2 gr1 gr0 8000h 20h general purpose x x 3d x x x mix ms lpbk x x x x x x x 0000h 22h 3d control x x x x x x x x x x x x dpr1 dpr0 dp1 dp0 0000h 26h powerdown ctrl/stat eapd pr6 pr5 pr4 pr3 pr2 pr1 pr0 x x x x ref anl dac adc 000fh 28h extended audio id id1 id0 x x x x x x sdac x x x x x x x 0000h 2ah extended audio status control x x x pwd sdac x x x x sdac ready x x x x x x x 0000h 38h surround dac master volume mute left x x ml4 ml3 ml2 ml1 ml0 mute right x x mr4 mr3 mr2 mr1 mr0 8080h 6ch analog special x x x x x x x x x x x x x x dac -6db adc -6db 0000h 74h multi-channel selection x x x x x x x x x x x x x x mc1 mc0 0000h 7ch vendor id1 1 0 0 0 0 0 1 1 1 0 0 0 0 1 0 0 8384h 7eh vendor id2 0 1 1 1 0 1 1 0 0 0 0 0 1 0 0 0 7608h notes: 1. all registers not shown and bits containing an x are reserved. 2. any reserved bits, marked x, can be written to but are don?t care upon read back. 3. pc_beep default to 0000h, mute off. 4. if optional bits d13, d5 of register 02h or d5 of register 06h are set to 1, then the corresponding attenuation is set to 46db and the register reads will produce 1fh as a value for this attenuation/gain block.
sigmatel, inc. preliminary stac9708/11 27 10/02/98 4.4.1 reset register (index 00h) writing any value to this register performs a register reset, which causes all registers to revert to their default values. reading this register returns the id code of the part. 4.4.2 play master volume registers (index 02h, 38h, and 06h) these registers manage the output signal volumes. register 02h controls the stereo line_out master volume (both right and left channels), register 04h controls the surround stereo dac_out volume, and register 06h controls the mono volume output. each step corresponds to 1.5 db. the msb of the register is the mute bit. when this bit is set to 1 the level for that channel is set at - db. ml5 through ml0 is for left channel level, mr5 through mr0 is for the right channel and mm5 through mm0 is for the mono out channel. the default value is 8000h for registers 02h and 06h ( 8080h for register 38h), which corresponds to 0 db attenuation with mute on. table 9 . play master volume register mute m x 5?m x 0 function range 0 00 0000 0db attenuation req. 0 01 1111 46.5 attenuation req. 1 xx xxxx db attenuation req. 4.4.3 pc beep register (index 0ah) this register controls the level for the pc beep input. each step corresponds to approximately 3 db of attenuation. the msb of the register is the mute bit. when this bit is set to 1 the level for that channel is set at - db. pc_beep supports motherboard implementations. the intention of routing pc_beep through the stac9708/11 mixer is to eliminate the requirement for an onboard speaker by guaranteeing a connection to speakers connected via the output jack. in order for this to be viable the pc_beep signal needs to reach the output jack at all times. note: the pc_beep is recommended to be routed to l & r line outputs even when the stac9708/11 is in a reset state. this is so that power on self test (post) codes can be heard by the user in case of a hardware problem with the pc. for further pc_beep implementation details please refer to the ac'97 technical faq sheet. the default value can be 0000h or 8000h, which corresponds to 0 db attenuation with mute off or on.
sigmatel, inc. preliminary stac9708/11 28 10/02/98 table 10 . pc_beep register mute pv3?pv0 function 0 0000 0 db attenuation 0 1111 45 db attenuation 1 xxxx db attenuation 4.4.4 analog mixer input gain registers (index 0ch - 18h , 04h ) these registers control the gain/attenuation for each of the analog inputs. each step corresponds to approximately 1.5 db. the msb of the register is the mute bit. when this bit is set to 1 the level for that channel is set at - db. register 0eh (mic volume register) has an extra bit that is for a 20db boost. when bit 6 is set to 1, the 20 db boost is on. the default value is 8008, which corresponds to 0 db gain with mute on. the default value for the mono registers is 8008h, which corresponds to 0db gain with mute on. the default value for stereo registers is 8808h, which corresponds to 0 db gain with mute on. table 11 . analog mixer input gain register mute gx4?gx0 function 0 00000 +12 db gain 0 01000 0 db gain 0 11111 -34.5 db gain 1 xxxxx - db gain 4.4.5 record select control register (index 1ah ) used to select the record source independently for right and left. the default value is 0000h, which corresponds to mic in.
sigmatel, inc. preliminary stac9708/11 29 10/02/98 table 12, 13 . record select control registers sr2?sr0 right record source 0 mic 1 cd in (right) 2 video in (right) 3 aux in (right) 4 line in (right) 5 stereo mix (right) 6 mono mix 7 phone sl2?sl0 left record source 0 mic 1 cd in (l) 2 video in (l) 3 aux in (l) 4 line in (l) 5 stereo mix (l) 6 mono mix 7 phone
sigmatel, inc. preliminary stac9708/11 30 10/02/98 4.4.6 record gain registers (index 1ch) the 1ch register adjusts the stereo input record gain. each step corresponds to 1.5 db. 22.5 db corresponds to 0f0fh and 000fh respectively. the msb of the register is the mute bit. when this bit is set to 1, the level for that channel(s) is set at - db. the default value is 8000h, which corresponds to 0 db gain with mute on. table 14 . record gain registers mute gx3? gx0 function 0 1111 +22.5 db gain 0 0000 0 db gain 1 xxxx - gain 4.4.7 general purpose register (index 20h) this register is used to control some miscellaneous functions. below is a summary of each bit and its function. the ms bit controls the mic selector. the lpbk bit enables loopback of the adc output to the dac input without involving the ac-link, allowing for full system performance measurements. table 15 . general purpose register bit function 3d 3d stereo enhancement on/off 1 = on mix mono output select 0 = mix, 1= mic ms mic select 0 = mic1, 1 = mic2 lpbk adc/dac loopback mode 4.4.8 3d control register (index 22h) this register is used to control the 3d stereo enhancement function, sigmatel surround 3d (ss3d), built into the ac'97 component. note that register bits, dp1-dp0 and dpr1-dpr0 are used to control the separation ratios in the 3d control for both line_out and dac_out respectively . this allows
sigmatel, inc. preliminary stac9708/11 31 10/02/98 for independent control of the stereo enhancement between line_out and dac_out. ss3d provides for a wider soundstage extending beyond the normal 2-speaker arrangement. note that the 3d bit in the general purpose register (20h) must be set to 1 to enable ss3d functionality and for the bits in 22h to take effect. table 16, 17 . 3d control registers dp1, dp0 line_out separation ratio 0 0 0 ( off ) 0 1 3 (low) 1 0 4.5 (med) 1 1 6 (high) dp r 1, dp r 0 dac_out separation ratio 0 0 0 ( off ) 0 1 3 (low) 1 0 4.5 (med) 1 1 6 (high) the three separation ratios are implemented as shown above. the separation ratio defines a series of equations that determine the amount of depth difference (high, medium, and low) perceived during two-channel playback. the ratios provide for options to narrow or widen the soundstage. 4.4.9 multi-channel programming register (index 74h) this read/write register is used to program the various options for multi-channel configurations . only the two lsbs are used (mc0 and mc1), and they define which ac - link slot data is supplied to the four audio dacs on the stac9708/11 . pcm2 in the table below is the surround stereo dac , which drives the dac_out pins. the purpose of using slot 10 and 11 in the final configuration is to allow the possibility of an eight channel architecture using two stac9708 devices in the multi-codec configuration. also see ?multiple codec support? discussion for information on the use of external pins cid1 and cid0.
sigmatel, inc. preliminary stac9708/11 32 10/02/98 table 18 . multi-channel programming register mc 1, mc0 pcm out left pcm out right pcm2 left pcm2 right 0, 0 slot 3 slot 4 slot 7 slot 8 0, 1 slot 7 slot 8 slot 6 slot 9 1, 0 slot 6 slot 9 slot 7 slot 8 1, 1 slot 6 slot 9 slot 10 slot 11 4.4.10 powerdown control/status register (index 26h) this read/write register is used to program powerdown states and monitor subsystem readiness. the lower half of this register is read only status, a ?1? indicating that the subsection is ?ready?. ready is defined as the subsection?s ability to perform in its nominal state. when this register is written, the bit values that come in on ac-link will have no effect on read only bits 0-7. bit 15, when the ac-link ?codec ready? indicator bit (sdata_in slot 0, bit 15) is a 1, it indicates that the ac-link and ac'97 control and status registers are in a fully operational state. the ac'97 controller must further probe this powerdown control/status register to determine exactly which subsections, if any are ready. table 19 . powerdown status registers bit function eapd external amplifier power down ref vref?s up to nominal level anl analog mixers, etc. ready dac dac section ready to playback data adc adc section ready to playback data
sigmatel, inc. preliminary stac9708/11 33 10/02/98 4.4.10.1 external amplifier power down control the eapd bit 15 of the powerdown control/status register (index 26h) directly controls the output of the eapd output, pin 45 , and produces a logical ? 1 ? when this bit is set to logic high . this function is used to control an external audio amplifier power down. eapd = 0 places approximately 0v on the output pin, enabling an external audio amplifier. eapd = 1 places approximately dvdd on the output pin, disabling the external audio amplifier. audio amplifiers that operate with reverse polarity will likely require an external inverter to maintain software driver compatibility. 4.4.11 extended audio id register (index 28) the extended audio id register is a read only register used to communicate information to the digital controller on two functions. id1 and id0 echo the configuration of the codec as defined by the programming of pins 47 and 48 externally. ? 00 ? returned defines the codec as the primary codec, while any other code identifies the codec as one of three secondary codec possibilities. sdac=1 tells the controller that the stac9708 is a multi-channel codec as defined by the intel spec. 4.4.12 extended audio status register (index 2ah ) the extended audio status control register contains two active bits for powerdown and status of the surround dacs. pwd is a read/write bit which is used to powerdown the surround dacs, and sdac a read only bit to tell the controller when the surround dacs are ready to receive data. 4.4.13 analog special register (index 6ch) the analog special register has two read/write bits used to control two functions specific to the stac9708. dac ? 6db is used to program the dac outputs to a ? 6db signal level relative to the value of gain already programmed. similarly, adc ? 6db attenuates any signal input to the adc by 6db. this second function is very useful in applications with greater than 1vrms input levels , as is the case with many cdroms . 4.4.14 vendor id1 and id2 (index 7ch and 7eh) these two registers contain four 8-bit id codes. the first three codes have been assigned by microsoft using their plug and play vendor id methodology. the fourth code is a sigmatel , inc. assigned code identifying the stac9708/11 . the id1 register (index 7ch) contains the value 8384h, which is the first (83h) and second (84h) characters of the microsoft id code. the id2 register (index 7eh) contains the value 7608h, which is the third (76h) of the microsoft id code, and 08h which is the stac9708/11 id code.
sigmatel, inc. preliminary stac9708/11 34 10/02/98 note: the lower half of the vendor id2 register (index 7eh) currently contains the value 08h identifying the stac9708/11 . this value can be used by the audio driver, or miniport driver in the case of win98 , to adjust software functionality to match the feature-set of the stac9708/11 . this portion of the register will likely contain different values if the software profile of the stac9708/11 changes, as in the case of silicon level device modifications. this will allow the software driver to identify any required operational differences between the existing stac9708/11 and any future versions. 5. low power modes the stac9708/11 is capable of operating at reduced power when no activity is required. the state of power down is controlled by the powerdown register (26h). there are 7 commands of separate power down. the power down options are listed in table 18. the first three bits , pr0..pr2, can be used individually or in combination with each other, and control power distribution to the adc?s, dac?s and mixer. the last analog power control bit, pr3, affects analog bias and reference voltages, and can only be used in combination with pr1, pr2, and pr3. pr3 essentially removes power from all analog sections of the codec, and is generally only asserted when the codec will not be needed for long periods. pr0 and pr1 control the pcm adc?s and dac?s only. pr2 and pr3 do not need to be "set" before a pr4, but pr0 and pr1 must be "set" before pr4. table 20 . low power modes grp bits function pr0 pcm in adc?s & input mux powerdown pr1 pcm out dacs powerdown pr2 analog mixer powerdown (vref still on) pr3 analog mixer powerdown (vref off) pr4 digital interface (ac-link) powerdown (extnl clk off) pr5 internal clk disable pr6 not implemented prj powerdown surround dacs
sigmatel, inc. preliminary stac9708/11 35 10/02/98 figure 12 . example of stac9708/11 powerdown/powerup flow pr0=1 pr1=1 pr2=1 pr4=1 default normal adcs off pr0 dacs off pr1 analog off pr2 or pr3 digital i/f off pr4 shut off coda-link pr0=0 & adc=1 pr1=0 & dac=1 pr2=0 & anl=1 warm reset cold reset ready =1 the above figure illustrates one example procedure to do a complete powerdown of stac9708/11 . from normal operation, sequential writes to the powerdown register are performed to power down stac9708/11 a piece at a time. after everything has been shut off, a final write (of pr4) can be executed to shut down the ac-link. the part will remain in sleep mode with all its registers holding their static values. to wake up, the ac'97 controller will send an extended pulse on the sync line, issuing a warm reset. this will restart the ac-link (resetting pr4 to zero). the stac9708/11 can also be woken up with a cold reset. a cold reset will reset all of the registers to their default states. when a section is powered back on, the powerdown control/status register (index 26h) should be read to verify that the section is ready (stable) before attempting any operation that requires it. figure 13 . stac9708/11 powerdown/powerup flow with analog still alive pr0=1 pr1=1 pr4=1 normal adcs off pr0 dacs off pr1 digital i/f off pr4 shut off coda-link pr0=0 & adc=1 pr1=0 & dac=1 warm reset the above figure illustrates a state when all the mixers should work with the static volume settings that are contained in their associated registers. this configuration can be used when playing a cd (or external line_in source) through stac9708/11 to the speakers, while most of the system in low power mode. the procedure for this follows the previous except that the analog mixer is never shut down.
sigmatel, inc. preliminary stac9708/11 36 10/02/98 6. multiple codec support the stac9708/11 provides support for the multi-codec option according to the intel ac'97, rev 2.1 specification. by definition there can be only one primary codec (codec id 00) and up to three secondary codecs (codec ids 01,10, and 11). the codec id functions as a chip select. secondary devices therefore have completely orthogonal register sets; each is individually accessible and they do not share registers . 6.1 primary/secondary codec selection in a multi-codec environment the codec id is provided by external programming of pins 45 and 46 ( c id0 and c id1). the cid pin electrical function is logically inverted from the codec id designation. the corresponding pin state and its associated codec id are listed in the "codec id selection" table. also see slot assignment discussion, ? multi-channel programming register (index 74)?. table 21 . codec id selection cid1 state cid0 state codec id codec status +5v or floating +5v or floating 00 primary +5v or floating 0v 01 secondary 0v +5v or floating 10 secondary 0v 0v 11 secondary 6.1.1 primary codec operation as a primary device the stac9708/11 is completely compatible with existing ac'97 definitions and extensions. primary codec registers are accessed exactly as defined in the ac'97 component specification and ac'97 extensions. the stac9708/11 operate s as primary by default, and the external id pins (47 and 48), have internal pull-ups so that these pins may be left as no-connects for primary operation . when used as the primary codec, the stac9708/11 generates the master ac-link bit_clk for both the ac'97 digital controller and any secondary codecs . the stac9708/11 can support up to 4, 10 k w 50 pf loads on the bit_clk. this is to insure that up to 4 codec implementations will not load down the clock output. 6.1.2 secondary codec operation when the stac9708/11 is configured as a secondary device the bit_clk pin is configured as an input at power up . using the bit_clk provided by the primary codec insure s that everything on the ac-link will be synchronous. as a secondary device it can be defined as codec id 01, 10, or 11 in the two-bit field(s) of the extended audio and/or extended modem id register(s). 6. 2 secondary codec register access definitions the ac'97 digital controller can independently access primary and secondary codec registers by using a 2-bit codec id field (chip select) which is defined as the lsbs of output slot 0. for secondary codec access, the
sigmatel, inc. preliminary stac9708/11 37 10/02/98 ac'97 digital controller must invalidate the tag bits for slot 1 and 2 command address and data (slot 0, bits 14 and 13) and place a non-zero value (01, 10, or 11) into the codec id field (slot 0, bits 1 and 0). as a secondary codec, the stac9708/11 will disregard the command address and command data (slot 0, bits 14 and 13) tag bits when it see s a 2-bit codec id value (slot 0, bits 1 and 0) that matches its configuration. in a sense the secondary codec id field functions as an alternative valid command address (for secondary reads and writes) and command data (for secondary writes) tag indicator. secondary codecs must monitor the frame valid bit, and ignore the frame (regardless of the state of the secondary codec id bits) if it is not valid. ac'97 digital controllers should set the frame valid bit for a frame with a secondary register access, even if no other bits in the output tag slot except the secondary codec id bits are set. this method is designed to be backward compatible with existing ac'97 controllers and codecs. there is no change to output slot 1 or 2 definitions. table 22. secondary codec register access slot 0 bit definitions output tag slot (16-bits) bit description 15 frame valid 14 slot 1 valid command address bit (?primary codec only) 13 slot 2 valid command data bit (?primary codec only) 12-3 slot 3-12 valid bits as defined by ac'97 2 reserved (set to ?0?) ?1-0 2-bit codec id field (00 reserved for primary; 01, 10, 11 indicate secondary) ? new definitions for secondary codec register access 7. testability the stac9708/11 has two test modes. one is for ate in-circuit test and the other is restricted for sigmatel?s internal use. stac9708/11 enters the ate in circuit test mode if sdata_out is sampled high at the trailing edge of reset#. once in the ate test mode, the digital ac-link outputs (bit_clk and sdata_in) are driven to a high impedance state. this allows ate in-circuit testing of the ac'97 controller. this case will never occur during standard operating conditions. once either of the two test modes have been entered, the stac9704/7 must be issued another rest with all ac-link signals held low to return to the normal operating mode.
sigmatel, inc. preliminary stac9708/11 38 10/02/98 8. extended codec functionality 8.1 anti-pop circuitry the stac9708/11 provides an integrated output signal (apop on pin 34) to aid in low-component-count anti- pop implementations. an audible speaker "pop" can occur when the main power is applied to, or removed from, the codec or audio output amplifier. in ac coupled systems, the speaker sided of the ac coupling capacitor is shunted to ground through a transistor or fet; this prevents audible pops when the system is powering on and off. a +10 uf capacitor on cap1 provides a delay to hold-off power to the output stages on power up. a +22 uf capacitor provides reserve power to sustain the output shunting action until the power has been fully removed on power down. apop is active logic high during shunting operations; apop is at logic low during normal operations. 9. ac timing characteristics (t ambie nt = 25 c, avdd = dvdd = 5.0v or 3.3v 5%, avss=dvss+0v; 50pf external load) 9.1 cold reset figure 14 . cold reset reset# bit_clk tres_low trst2clk table 23 . cold reset parameter symbol min typ max units reset# active low pulse width tres_low 1.0 - - us reset# inactive to bit_clk startup delay trst2clk 162.8 - - ns # denotes active low.
sigmatel, inc. preliminary stac9708/11 39 10/02/98 9.2 warm reset figure 15 . warm reset sync bit_clk tsync_2clk tsync_high table 24 . warm reset parameter symbol min typ max units sync active high pulse width tsync_high - 1.3 - us sync inactive to bit_clk startup delay tsync2clk 162.8 - - ns
sigmatel, inc. preliminary stac9708/11 40 10/02/98 9.3 clocks figure 16 . clocks bit_clk sync tclk_high tclk_low tclk_period tsync_low tsync_high tsync_period table 25 . clocks parameter symbol min typ max units bit_clk frequency - 12.288 - mhz bit_clk period tclk_period - 81.4 - ns bit_clk output jitter - - 750 ps blt_clk high pulsewidth (note 1) tclk_high 32.56 40.7 48.84 ns bit_clk low pulse width (note 1) tclk_low 32.56 40.7 48.84 ns sync frequency - 48.0 - khz sync period tsync_period - 20.8 - us sync high pulse width tsync_high - 1.3 - us sync low_pulse width tsync_low - 19.5 - us notes: 1) worst case duty cycle restricted to 40/60.
sigmatel, inc. preliminary stac9708/11 41 10/02/98 9.4 data setup and hold (50pf external load) figure 17 . data setup and hold bit_clk sdata_in sdata_out sync tsetup thold tsetup thold table 26 . data setup and hold parameter symbol min typ max units setup to falling edge of bit_clk tsetup 15.0 - - ns hold from falling edge of bit_clk thold 5.0 - - ns note 1: setup and hold time parameters for sdata_in are with respect to the ac'97 controller.
sigmatel, inc. preliminary stac9708/11 42 10/02/98 9.5 signal rise and fall times - (50pf external load; from 10% to 90% of vdd) figure 18 . signal rise and fall times bit_clk sdata_in triseclk tfallclk trisedin tfalldin table 27 . signal rise and fall times parameter symbol min typ max units bit_clk rise time triseclk 2 - 6 ns bit_clk fall time tfallclk 2 - 6 ns sdata_in rise time trisedin 2 - 6 ns sdata_in fall time tfalldin 2 - 6 ns
sigmatel, inc. preliminary stac9708/11 43 10/02/98 9.6 ac-link low power mode timing figure 19 . ac-link low power mode timing sync bit_clk sdata_out sdata_in don't care slot 1 slot 2 write to data 0x20 pr4 note: bit_clk not to scale ts2_pdown table 28 . ac-link low power mode timing parameter symbol min typ max units end of slot 2 to bit_clk, sdata_in low ts2_pdown - - 1.0 us
sigmatel, inc. preliminary stac9708/11 44 10/02/98 9.7 ate test mode figure 20 . ate test mode reset# sdata_out sdata_in, bit_clk toff hi-z tsetup2rst table 29 . ate test mode parameter symbol min typ max units setup to trailing edge of reset# (also applies to sync) tsetup2rst 15.0 - - ns rising edge of reset# to hi-z delay toff - - 25.0 ns notes: 1. all ac-link signals are normally low through the trailing edge of reset#. bringing sdata_out high for the trailing edge of reset# causes stac9708/11 ?s ac-link outputs to go high impedance which is suitable for ate in circuit testing. 2. once either of the two test modes have been entered, the stac9708/11 must be issued another reset# with all ac-link signals low to return to the normal operating mode. # denotes active low.
sigmatel, inc. preliminary stac9708/11 45 10/02/98 10. electrical specifications: 10.1 absolute maximum ratings: voltage on any pin relative to ground vss - 0.3v to vdd + 0.3v operating temperature 0 o c to 70 o c storage temperature -55 o c to +125 o c soldering temperature 260 o c for 10 seconds output current per pin 4 ma except vrefout = 5ma 10.2 recommended operating conditions table 30 . operating conditions parameter min typ max units power supplies + 3.3v digital + 5v digital + 5v analog + 3.3v analog 3.135 4.75 4.75 3.135 3.3 5 5 3.3 3.435 5.25 5.25 3.435 v v v v ambient temperature 0 - 70 o c sigmatel reserves the right to change specifications without notice.
sigmatel, inc. preliminary stac9708/11 46 10/02/98 10.3 power consumption table 31 . power consumption parameter min typ max units digital supply current + 5v digital + 3.3v digital 55 35 ma ma analog supply current + 5v analog 80 ma + 3.3v analog 70 ma power down status pr0 +5v analog supply current pr1 +5v analog supply current prj +5 v analog supply current pr2 +5v analog supply current pr3 +5v analog supply current pr4 +3.3v digital supply current pr4 +5v digital supply current pr5 no effect 68 54 40 30 0.1 0.1 0.1 ma ma ma ma ma ma ma 10 .4 ac-link static digital specifications (t ambient = 25 o c, dvdd = 5.0v or 3.3v 5%, avss=dvss=0v; 50pf external load) table 32 . ac-link static specifications parameter symbol min typ max units input voltage range vin -0.30 dvdd + 0.30 v low level input range vil - - 0.30xdvdd v high level input voltage vih 0.40xdvdd - - v high level output voltage voh 0.50xdvdd - - v low level output voltage vol - - 0.2xdvdd v input leakage current (ac-link inputs) - -10 - 10 ua output leakage current (hi-z?d ac-link outputs) - -10 - 10 ua output buffer drive current - - 4 ma
sigmatel, inc. preliminary stac9708/11 47 10/02/98 10.5 stac9708 analog performance characteristics (t ambient = 25 o c, avdd = 5.0v 5%, dvdd = 3.3v 5%, avss=dvss=0v; 1 khz input sine wave; sample frequency = 48 khz; 0 db = 1 vrms, 10k w /50pf load, testbench characterization bw: 20 hz ? 20 khz, 0 db settings on all gain stages ) table 33 . analog performance characteristics parameter min typ max units full scale input voltage: line inputs mic inputs 1 - - 1.0 0.1 - - vrms full scale output voltage: line output 5v - 1.0 - vrms analog s/n: cd to line_out 5v other to line_out 5v 90 - 98 98 - - db analog frequency response 2 20 - 20,000 hz digital s/n 3 d/a 5v a/d 5v 85 75 96 86 - - db total harmonic distortion: line output 4 - - 0.02 % d/a & a/d frequency response 5 20 - 19,200 hz transition band 19,200 - 28,800 hz stop band 28,800 - hz stop band rejection 6 +85 - - db out-of-band rejection 7 - +40 - db group delay - - 1 ms power supply rejection ratio (1khz) - +40 - db crosstalk between input channels - - -70 db spurious tone rejection - +100 - db attenuation, gain step size - 1.5 - db input impedance 10 - - k w input capacitance - 15 - pf vrefout - 0.41 x avdd - v
sigmatel, inc. preliminary stac9708/11 48 10/02/98 interchannel gain mismatch adc 0.5 db interchannel gain mismatch dac - 0.5 db gain drift 100 ppm/deg. c dac offset voltage 10 50 mv deviation from linear phase 1 degree external load impedance 10 k ohm mute attenuation (vrms input) 90 96 db notes: 1. with +20 db boost on, 1.0vrms with boost off 2. 1 db limits 3. the ratio of the rms output level with 1 khz full scale input to the rms output level with all zeros into the digital input. measured ?a weighted? over a 20 hz to a 20 khz bandwidth. (aes17-1991 idle channel noise or eiaj cp-307 signal-to-noise ratio). 4. 0 db gain, 20 khz bw, 48 khz sample frequency 5. 0.25db limits 6. stop band rejection determines filter requirements. out-of-band rejection determines audible noise. 7. the integrated out-of-band noise generated by the dac process, during normal pcm audio playback, over a bandwidth 28.8 to 100 khz, with respect to a 1 vrms dac output.
sigmatel, inc. preliminary stac9708/11 49 10/02/98 10.6 STAC9711 analog performance characteristics (t ambient = 25 o c, avdd = dvdd = 3.3v 5%, avss=dvss=0v; 1 khz input sine wave; sample frequency = 48 khz; 0 db = 1 vrms, 10k w /50pf load, testbench characterization bw: 20 hz ? 20 khz, 0 db settings on all gain stages) table 34 . analog performance characteristics parameter min typ max units full scale output voltage: line inputs to line output 3.3v line inputs to line_out 3.3v @ line in = 1 vrms and @ gain setting of -6 db line inputs to line_out 3.3v @ line in = 0.5 vrms and @ gain setting of 0db pcm to line_out 3.3v @ full scale pcm input @pcm gain setting of 0db pcm to line output 3.3v mic inputs to line_out 3.3v @ mic in = 1 vrms and @ gain setting of 0db - 0.5 0.5 0.5 0.5 0.5 - vrms vrms vrms vrms vrms analog s/n: cd to line_out 3.3v other to line_out 3.3v - 90 90 - analog frequency response 2 20 - 20,000 hz digital s/n 3 d/a 3.3v a/d 3.3v 85 75 90 85 - - total harmonic distortion: line output 4 - - 0.02 % d/a & a/d frequency response 5 20 - 19,200 hz transition band 19,200 - 28,800 hz stop band 28,800 - hz stop band rejection 6 +85 - - db out-of-band rejection 7 - +40 - db group delay - - 1 ms power supply rejection ratio (1khz) - +40 - db crosstalk between input channels - - -70 db
sigmatel, inc. preliminary stac9708/11 50 10/02/98 spurious tone rejection - +100 - db attenuation, gain step size - 1.5 - db input impedance 10 - - k w input capacitance - 15 - pf vrefout - 0.41 x avdd - v interchannel gain mismatch adc 0.5 db interchannel gain mismatch dac - 0.5 db gain drift 100 ppm/ o c dac offset voltage 10 50 mv deviation from linear phase 1 degree external load impedance 10 k w mute attenuation (0 db) 90 96 db notes: 1. with +20 db boost on, 1.0vrms with boost off 2. 1 db limits 3. the ratio of the rms output level with 1 khz full scale input to the rms output level with all zeros into the digital input. measured ?a weighted? over a 20 hz to a 20 khz bandwidth. (aes17-1991 idle channel noise or eiaj cp-307 signal-to-noise ratio). 4. 0 db gain, 20 khz bw, 48 khz sample frequency 5. 0.25db limits 6. stop band rejection determines filter requirements. out-of-band rejection determines audible noise. 7. the integrated out-of-band noise generated by the dac process, during normal pcm audio playback, over a bandwidth 28.8 to 100 khz, with respect to a 1 vrms dac output.
sigmatel, inc. preliminary stac9708/11 51 10/02/98 appendix a split independent power supply operation in pc applications, one power supply input to the stac9708/11 may be derived from a supply regulator (as shown in figure 3) and the other directly from the pci power supply bus. when power is applied to the pc, the regulated supply input to the ic will be applied some time delay after the pci power supply. without proper on- chip partitioning of the analog and digital circuitry, some manufacturer's codecs would be subject to on-chip scr type latch-up. sigmatel?s stac9708/11 specifically allows power-up sequencing delays between the analog (avddx) and digital (vdddx) supply pins. these two power supplies can power-up independently and at different rates with no adverse effects to the codec. the ic is designed with independent analog and digital circuitry that prevents on-chip scr type latch-up. video_l video_r aux_l afilt1 afilt2 avss1 avss2 dvss1 dvss2 avdd1 avdd2 dvdd1 dvdd2 0.1uf 10uf 1uf 0.1uf 0.1uf 0.1uf 560 - 1000pf 29 30 14 17 16 25 38 1 9 7 4 42 26 3 2 cap2 xtl_out xtl_in 3.3v or 5v 5% 24.576mhz 32 0.1uf 10uf sigmatel stac9708/11 28 vrefout vref 27 10uf 0.1uf 33pf 33pf line_out_l line_out_r mono_out 35 36 37 line_in_r 24 line_in_l 23 phone 13 p c _ b e e p 12 mic2 22 aux_r 15 mic1 21 6 5 8 11 10 sdata_out sdata_in reset sync bit_clk cd_gnd cd_r 20 19 18 cd_l brd analog gnd brd digital gnd note: pins 31, 33, 34, 40 43, 44, and 48 are no connects ** teminate ground plane as close to power supply as possible dac_out_l dac_out_r 39 41 46 45 cid1 cid0 560 - 1000pf cid0 46 45 cid1 apop eapd 34 47 cap1 31 cap3 33 10uf 22uf 3.3v or 5v 5% reg * avdd must always be >= dvdd
sigmatel, inc. preliminary stac9708/11 52 10/02/98 appendix b +5.0v/+3.3v power supply operation notes the stac9708 is capable of operating from a single 5v supply connected to both dvdd and avdd. even though the stac9708 has digital switching levels of 0.2vdd to 0.5vdd (see ac link electrical characteristics in this data book), we recommend that all digital interface signals to the ac-link be 5v. if digital interface signals below 5v are used, then appropriate level shifting circuitry must be provided to ensure adequate digital noise immunity. the stac9708 can also operate from a 3.3v digital supply connected to dvdd while maintaining a 5v analog supply on avdd. on-chip level shifters ensure accurate logic transfers between the analog and digital portions of the stac9708. if digital interface signals above 3.3v are used (i.e. a +5v ac-link interface), then appropriate level shifting circuitry must be provided to ensure adequate digital noise immunity and to prevent on-chip esd protection diodes from turning on. (see appendixes a concerning split independent power supply operation). the STAC9711 must be run from a 3.3v supply connected to both dvdd and avdd. if digital interface signals above 3.3v are used (i.e. a +5v ac-link interface), then appropriate level shifting circuitry must be provided to ensure adequate digital noise immunity and to prevent on-ship esd protection diodes from turning on. *always operate the stac97xx digital supply from the same supply voltage as the digital controller supply. *all the analog inputs must be ac-coupled with a capacitor of 3.3 uf or greater. it is recommended that a resistor of about 47k w w be connected from the signal side of the capacitor to analog gnd as shown below. *all the analog outputs must be ac-coupled. if an external amplifier is used, make sure that the input impedance of the amplifier is at least 10k w w and use an ac-coupling capacitor of 3.3 uf. 47k > 3.3 uf signal analog input
sigmatel, inc. preliminary stac9708/11 53 10/02/98 - notes -
sigmatel, inc. preliminary stac9708/11 54 10/02/98 - notes -
sigmatel, inc. preliminary stac9708/11 55 10/02/98 - notes -
sigmatel, inc. preliminary stac9708/11 56 10/02/98 for more information, please contact: sigmatel, inc. 6101 w. courtyard dr., bldg. 1, suite 100 austin, texas 78730 tel (512) 343-6636, fax (512) 343-6199 email: sales@sigmatel.com homepage: www.sigmatel.com


▲Up To Search▲   

 
Price & Availability of STAC9711

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X